/**
 * 
 */
package org.cuatrovientos.es;

/**
 * @author Beatriz
 *
 */
public class Circuit {

	/**
	 * 
	 */
private String name;
private int positions;
/**
 * @param name
 * @param positions
 */
	public Circuit(String name, int positions) {
		this.name = name;
		this.positions= positions;
	}

	/**
	 * (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString(){
		return "Circuit [name=" + name + ", positions=" + positions + "]";
		
	}
	/**
	 * @return the name
	  */
	public String getName(){
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name){
		this.name = name;
	}
	/**
	 * @return the positions
	 */
	public int getPositions(){
		return positions;
	}
	/**
	 *@param positions the positions to set
	*/
	public void setPositions(int positions){
		this.positions = positions;
	
	}

}
